//
// Copyright (c) 2011 Alex Nesterenko
//

#ifndef NANE_POSIXFILEBASE__H
#   define  NANE_POSIXFILEBASE__H

#   include "nane/core/crt/POSIX/POSIXFileSystemImpl_.h"

namespace nane
{
    class POSIXFileBase
        : public SubSystemProductImpl<int>
    {
    public:
        POSIXFileBase( int _interface, const char* _filename );
        ~POSIXFileBase();

    public:
        void seek( uint32 _pos );
        uint32 tell();
        uint32 size() const;

    public:
        char* m_filename;
    };
}   // namespace nane

#endif	// NANE_POSIXFILEBASE__H
